<?php if (!defined('THINK_PATH')) exit();?>﻿
<!DOCTYPE html>
<html lang="en">
<head>
    
    <!-- Basic page needs
	============================================ -->
	<title>Home</title>
	<meta charset="utf-8">
    <meta name="keywords" content="" />
    <meta name="author" content="Magentech">
    <meta name="robots" content="index, follow" />
   
	<!-- Mobile specific metas
	============================================ -->
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	
	<!-- Favicon
	============================================ -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
    <link rel="shortcut icon" href="ico/favicon.png">
	
	<!-- Google web fonts
	============================================ -->
   <!--  <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'> -->
	
    <!-- Libs CSS
	============================================ -->
   	<link rel="stylesheet" href="/Public/mobilemall/css/bootstrap/css/bootstrap.min.css">
	<link href="/Public/mobilemall/css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
	<link href="/Public/mobilemall/js/datetimepicker/bootstrap-datetimepicker.min.css" rel="stylesheet">
   	<link href="/Public/mobilemall/js/owl-carousel/owl.carousel.css" rel="stylesheet">
	<link href="/Public/mobilemall/css/themecss/lib.css" rel="stylesheet">
	<link href="/Public/mobilemall/js/jquery-ui/jquery-ui.min.css" rel="stylesheet">
	
	<!-- Theme CSS
	============================================ -->
   	<link href="/Public/mobilemall/css/themecss/so_megamenu.css" rel="stylesheet">
   	<link href="/Public/mobilemall/css/themecss/so-categories.css" rel="stylesheet">
	<link href="/Public/mobilemall/css/themecss/so-listing-tabs.css" rel="stylesheet">
	<link id="color_scheme" href="/Public/mobilemall/css/theme.css" rel="stylesheet">
	<link href="/Public/mobilemall/css/responsive.css" rel="stylesheet">
	

</head>

<body class="common-home res layout-home1">

     


    <div id="wrapper" class="wrapper-full banners-effect-7">
    		<!-- Header Container  -->
	<header id="header" class=" variantleft type_1">
<!-- Header Top -->
<div class="header-top compact-hidden">
	<div class="container">
		<div class="row">
			<div class="header-top-left form-inline col-sm-6 col-xs-12 compact-hidden">
				<div class="form-group languages-block ">
					<form action="index.html" method="post" enctype="multipart/form-data" id="bt-language">
						<a class="btn btn-xs dropdown-toggle" data-toggle="dropdown">
							<img src="/Public/mobilemall/image/demo/flags/cn.png" alt="Chinese" title="Chinese">
							<span class="">中文</span>
							<span class="fa fa-angle-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li> <a href=""> <img class="image_flag" src="/Public/mobilemall/image/demo/flags/cn.png" alt="Chinese" title="Chinese" /> 中文 </a> </li>
							<li><a href=""><img class="image_flag" src="/Public/mobilemall/image/demo/flags/gb.png" alt="English" title="English" /> English </a></li>
							<li> <a href=""> <img class="image_flag" src="/Public/mobilemall/image/demo/flags/lb.png" alt="Arabic" title="Arabic" /> Arabic </a> </li>
						</ul>
					</form>
				</div>

				<div class="form-group currencies-block">
				
				<span class="btn btn-xs dropdown-toggle" style="margin-top: 5px;">
				<?php if(($_SESSION['USERNAME']) == ""): ?>&nbsp;&nbsp;亲，请先<a href="/Home/User/index">登录</a>
				，免费<a href="/Home/User/register">注册</a> 
				<?php else: ?>
				&nbsp;&nbsp;<?php echo (session('USERNAME')); ?>，你好<?php endif; ?>
				</span>

					
				</div>
			</div>
			<div class="header-top-right collapsed-block text-right  col-sm-6 col-xs-12 compact-hidden">
				<h5 class="tabBlockTitle visible-xs">More<a class="expander " href="#TabBlock-1"><i class="fa fa-angle-down"></i></a></h5>
				<div class="tabBlock" id="TabBlock-1">
					<ul class="top-link list-inline">
						<li class="account" id="my_account">
							<a href="#" title="My Account" class="btn btn-xs dropdown-toggle" data-toggle="dropdown"> <span >
							<?php if(($_SESSION['USERNAME']) == ""): else: ?>
							<?php echo (session('USERNAME')); ?>的<?php endif; ?>
							个人中心</span> <span class="fa fa-angle-down"></span></a>
							<ul class="dropdown-menu ">
								<li><a href="/Home/Person/index"><i class="fa fa-user"></i> 个人主页</a></li>
								<li><a href="/Home/User/userLoginout"><i class="fa fa-pencil-square-o"></i> 注销</a></li>
							</ul>
						</li>
						<li class="wishlist"><a href="/Home/Person/collection" id="wishlist-total" class="top-link-wishlist" title="Wish List (<?php echo ($colsum); ?>)"><span>收藏列表 <?php echo ($colsum); ?></span></a></li>
						<li class="login"><a href="/Home/Shopcart/index" title="Shopping Cart"><span >购物车<?php echo ($shopcartnum); ?></span></a></li>
						<li class="checkout"><a href="/Home/Index/index.html" class="top-link-checkout" title="Checkout"><span >商城首页</span></a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- //Header Top -->

<!-- Header center -->
<div class="header-center left">
	<div class="container">
		<div class="row">
			<!-- Logo -->
			<div class="navbar-logo col-md-3 col-sm-12 col-xs-12">
				<a href="index.html"><img src="/Public/mobilemall/image/demo/logos/theme_logo.png" title="Your Store" alt="Your Store" /></a>
			</div>
			<!-- //end Logo -->

			<!-- Search -->
			<div id="sosearchpro" class="col-sm-7 search-pro">
				<form method="GET" action="index.html">
					<div id="search0" class="search input-group">
						<div class="select_category filter_type icon-select">
							<select class="no-border" name="category_id" id="sort_list_sel">
								<option value="0">所有商品分类</option>
								
							</select>
						</div>
						
						<input class="autosearch-input form-control" type="text" value="" size="50" autocomplete="off" placeholder="搜索想要的商品" name="search">
						<span class="input-group-btn">
						<button type="button" class="button-search btn btn-primary" name="submit_search" onclick="searchgoods();"><i class="fa fa-search"></i></button>
						<script >
							function searchgoods() {
								var key =  $("input[name='search']").val();
								location.href = '/Home/Search/result?key='+key;
								//alert(key);
								//$.post("/Home/Search/result")
							}
						</script>
						</span>

					</div>
					<input type="hidden" name="route" value="product/search" />
				</form>
			</div>
			<!-- //end Search -->

			<!-- Secondary menu -->
			<div class="col-md-2 col-sm-5 col-xs-12 shopping_cart pull-right">
				<!--cart-->
				<div id="cart" class=" btn-group btn-shopping-cart">
					<a data-loading-text="Loading..." class="top_cart dropdown-toggle" data-toggle="dropdown">
						<div class="shopcart">
							<span class="handle pull-left"></span>
							<span class="title">我的购物车</span>
							<?php if(($_SESSION['USERNAME']) == ""): ?><p class="text-shopping-cart cart-total-full">你还没
							登录</p>	
							<?php else: ?>
							<p class="text-shopping-cart cart-total-full"><span id="goodstotalnumber"><?php echo ($shopcartnum); ?></span> 件商品 - 
							￥<span id="goodstotalprices"><?php echo ($shopcartsumprices); ?></span></p><?php endif; ?>
							
						</div>
					</a>
					<?php if(($_SESSION['USERNAME']) == ""): else: ?>
					<!-- 购物车具体内容 -->
					<ul class="tab-content content dropdown-menu pull-right shoppingcart-box" role="menu">
						
						<li>
							<table class="table table-striped">
								<tbody id="shopcart-box">
									<?php if(is_array($shopcartgoodslist)): $i = 0; $__LIST__ = $shopcartgoodslist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr cid="<?php echo ($vo["goodsid"]); ?>">
										<td class="text-center" style="width:70px">
											<a href="product.html"> <img src="<?php echo ($vo["goodsimg"]); ?>" style="width:70px" alt="Filet Mign" title="Filet Mign" class="preview"> </a>
										</td>
										<td class="text-left"> <a class="cart_product_name" href="product.html"><?php echo ($vo["goodsname"]); ?></a> </td>
										<td class="text-center">x<?php echo ($vo["number"]); ?> </td>
										<td class="text-center">￥<?php echo ($vo["goodsnow"]); ?> </td>
										<td class="text-right">
											<a href="product.html" class="fa fa-edit"></a>
										</td>
										<td class="text-right">
											<a onclick="removegoods('<?php echo ($vo["goodsid"]); ?>',this);" class="fa fa-times fa-delete" ></a>
										</td>
									</tr><?php endforeach; endif; else: echo "" ;endif; ?>
								</tbody>
							</table>
						</li>
						<li>
							<div>
								<table class="table table-bordered">
									<tbody>
										<tr>
											<td class="text-left"><strong>总价</strong>
											</td>
											<td class="text-right">￥<span id="goodstotalprices1"><?php echo ($shopcartsumprices); ?> </span></td>
										</tr>
									</tbody>
								</table>
								<p class="text-right"> <a class="btn view-cart" href="/Home/Shopcart/index"><i class="fa fa-shopping-cart"></i>查看购物车</a>&nbsp;&nbsp;&nbsp; <a class="btn btn-mega checkout-cart" href="/Home/Shopcart/pay"><i class="fa fa-share"></i>结算</a> </p>
							</div>
						</li>
					</ul><?php endif; ?>
					
				</div>
				<!--//cart-->
			</div>
		</div>

	</div>
</div>
<!-- //Header center -->

<!-- Header Bottom -->
<div class="header-bottom">
	<div class="container">
		<div class="row">
			
			<div class="sidebar-menu col-md-3 col-sm-6 col-xs-12 ">
				<div class="responsive so-megamenu ">
					<div class="so-vertical-menu no-gutter compact-hidden">
						<nav class="navbar-default">	
							
							<div class="container-megamenu vertical open">
								<div id="menuHeading">
									<div class="megamenuToogle-wrapper">
										<div class="megamenuToogle-pattern">
											<div class="container">
												<div>
													<span></span>
													<span></span>
													<span></span>
												</div>
												所有商品分类							
												<i class="fa pull-right arrow-circle fa-chevron-circle-up"></i>
											</div>
										</div>
									</div>
								</div>
								<div class="navbar-header">
									<button type="button" id="show-verticalmenu" data-toggle="collapse" class="navbar-toggle fa fa-list-alt">
									</button>
									所有商品类别
											
								</div>
								<div class="vertical-wrapper" >
									<span id="remove-verticalmenu" class="fa fa-times"></span>
									<div class="megamenu-pattern">
										<div class="container">
											<!-- 展示所有商品分类可点击收放ul -->
											<ul class="megamenu" id="megamenu-box">
												
												<?php if(is_array($sortlist)): $i = 0; $__LIST__ = $sortlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="item-vertical style1 with-sub-menu hover">
													<p class="close-menu"></p>
													<a href="#" class="clearfix">
														<img src="<?php echo ($vo["sortimgurl"]["0"]); ?>" alt="icon">
														<span><?php echo ($vo["sortname"]); ?> </span>
														<b class="caret"></b>
													</a>
													<div class="sub-menu" data-subwidth="100" >
														<div class="content" >
															<div class="row">
																<div class="col-sm-12">
																	
																	<div class="row">

																		<?php if(is_array($vo["twosortdata"])): $i = 0; $__LIST__ = $vo["twosortdata"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><div class="col-md-4 static-menu">
																			<div class="menu" >
																				<ul>
																					<li>
																						<img src="<?php echo ($v["twosortimgurl"]["0"]); ?>" alt="icon">
																						<a href="/Home/Goods/showcategory?twosortid=<?php echo ($v["id"]); ?>"  class="main-menu"><?php echo ($v["twosortname"]); ?></a>
																						<ul>
																							<?php if(is_array($v["goodsdata"])): $i = 0; $__LIST__ = $v["goodsdata"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$f): $mod = ($i % 2 );++$i;?><li><a href="/Home/Goods/showgoods?goodsid=<?php echo ($f["id"]); ?>" ><?php echo ($f["goodsname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
																						</ul>
																					</li>	
																				</ul>
																			</div>
																		</div><?php endforeach; endif; else: echo "" ;endif; ?>

																	</div>
																	
																</div>
															</div>
														</div>
													</div>
												</li><?php endforeach; endif; else: echo "" ;endif; ?>
												
												</ul>
											</div>
										</div>
									</div>
								</div>
							</nav>
					</div>
				</div>

			</div>
			
			<!-- Main menu -->
			<div class="megamenu-hori header-bottom-right  col-md-9 col-sm-6 col-xs-12 ">
				<div class="responsive so-megamenu ">
	<nav class="navbar-default">
		<div class=" container-megamenu  horizontal">
			<div class="navbar-header">
				<button type="button" id="show-megamenu" data-toggle="collapse" class="navbar-toggle">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				导航		
			</div>
			
			<div class="megamenu-wrapper">
				<span id="remove-megamenu" class="fa fa-times"></span>
				<div class="megamenu-pattern">
					<div class="container">
						<ul class="megamenu " data-transition="slide" data-animationtime="250">
							<li class="home hover">
								
							<a href="index.html">商城主页 <b class="caret"></b></a>
								<div class="sub-menu" style="width:100%;" >
									<div class="content" >
										<div class="row">
											<div class="col-md-3">
												<a href="index.html" class="image-link"> 
													<span class="thumbnail">
														<img class="img-responsive img-border" src="/Public/mobilemall/image/demo/feature/home-1.jpg" alt="">
														<span class="btn btn-default">Read More</span>
													</span> 
													<h3 class="figcaption">Home page - (Default)</h3> 
												</a> 
												
											</div>
											<div class="col-md-3">
												<a href="#" class="image-link"> 
													<span class="thumbnail">
														<img class="img-responsive img-border" src="/Public/mobilemall/image/demo/feature/home-2.jpg" alt="">
														<span class="btn btn-default">Read More</span>
													</span> 
													<h3 class="figcaption">Home page - Layout 2</h3> 
												</a> 
												
											</div>
											<div class="col-md-3">
												<a href="#" class="image-link"> 
													<span class="thumbnail">
														<img class="img-responsive img-border" src="/Public/mobilemall/image/demo/feature/home-3.jpg" alt="">
														<span class="btn btn-default">Read More</span>
													</span> 
													<h3 class="figcaption">Home page - Layout 3</h3> 
												</a> 
												
											</div>
											<div class="col-md-3">
												<a href="#" class="image-link"> 
													<span class="thumbnail">
														<img class="img-responsive img-border" src="/Public/mobilemall/image/demo/feature/home-4.jpg" alt="">
														<span class="btn btn-default">Read More</span>
													</span> 
													<h3 class="figcaption">Home page - Layout 4</h3> 
												</a> 
												
											</div>
										</div>
									</div>
								</div>
							</li>
							<li class="with-sub-menu hover">
								<p class="close-menu"></p>
								<a href="#" class="clearfix">
									<strong>Features</strong>
									<span class="label"> Hot</span>
									<b class="caret"></b>
								</a>
								<div class="sub-menu" style="width: 100%; right: auto;">
									<div class="content" >
										<div class="row">
											<div class="col-md-3">
												<div class="column">
													<a href="#" class="title-submenu">商品二级分类页面</a>
													<div>
														<ul class="row-list">
															<?php if(is_array($exampletwosort)): $i = 0; $__LIST__ = $exampletwosort;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="/Home/Goods/showcategory?twosortid=<?php echo ($vo["id"]); ?>"><?php echo ($vo["twosortname"]); ?> </a></li><?php endforeach; endif; else: echo "" ;endif; ?>
														</ul>
														
													</div>
												</div>
											</div>
											<div class="col-md-3">
												<div class="column">
													<a href="#" class="title-submenu">商品详情页面</a>
													<div>
														<ul class="row-list">
															<?php if(is_array($examplegoods)): $i = 0; $__LIST__ = $examplegoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="/Home/Goods/showgoods?goodstid=<?php echo ($vo["id"]); ?>"><?php echo ($vo["goodsname"]); ?> </a></li><?php endforeach; endif; else: echo "" ;endif; ?>
														</ul>
													</div>
												</div>
											</div>
											<div class="col-md-3">
												<div class="column">
													<a href="#" class="title-submenu">Shopping pages</a>
													<div>
														<ul class="row-list">
															<li><a href="/Home/Shopcart/index">购物车页面</a></li>
															<li><a href="/Home/Shopcart/pay">结算页面</a></li>
															<li><a href="/Home/Person/collection">收藏页面</a></li>
														
														</ul>
													</div>
												</div>
											</div>
											<div class="col-md-3">
												<div class="column">
													<a href="#" class="title-submenu">我的账号页面</a>
													<div>
														<ul class="row-list">
															<li><a href="/Home/User/index">登录</a></li>
															<li><a href="/Home/User/register">注册</a></li>
															<li><a href="/Home/Person/Index">个人中心</a></li>
															
														</ul>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</li>
							<li class="with-sub-menu hover">
								<p class="close-menu"></p>
								<a href="#" class="clearfix">
									<strong>Pages</strong>
									<span class="label"> Hot</span>
									<b class="caret"></b>
								</a>
								<div class="sub-menu" style="width: 40%; ">
									<div class="content" >
										<div class="row">
											<div class="col-md-6">
												<ul class="row-list">
													<li><a class="subcategory_item" href="#">常见问题解答</a></li>
													<li><a class="subcategory_item" href="#">Site Map</a></li>
													<li><a class="subcategory_item" href="#">联系我们</a></li>
													<li><a class="subcategory_item" href="#">广告投放</a></li>
												</ul>
											</div>
											<div class="col-md-6">
												<ul class="row-list">
													<li><a class="subcategory_item" href="#">关于我们</a></li>
												</ul>
											</div>
										</div>
									</div>
								</div>
							</li>
							<li class="with-sub-menu hover">
								<p class="close-menu"></p>
								<a href="#" class="clearfix">
									<strong>商品种类</strong>
									<span class="label"></span>
									<b class="caret"></b>
								</a>
								<div class="sub-menu" style="width: 100%; display: none;">
									<div class="content">
										<div class="row">
											<div class="col-sm-12">
												<div class="row">
													<div class="col-md-3 img img1">
														<a href="#"><img src="/Public/mobilemall/image/demo/cms/img1.jpg" alt="banner1"></a>
													</div>
													<div class="col-md-3 img img2">
														<a href="#"><img src="/Public/mobilemall/image/demo/cms/img2.jpg" alt="banner2"></a>
													</div>
													<div class="col-md-3 img img3">
														<a href="#"><img src="/Public/mobilemall/image/demo/cms/img3.jpg" alt="banner3"></a>
													</div>
													<div class="col-md-3 img img4">
														<a href="#"><img src="/Public/mobilemall/image/demo/cms/img4.jpg" alt="banner4"></a>
													</div>
												</div>
											</div>
										</div>
										<div class="row">
											<?php if(is_array($sortlist)): $i = 0; $__LIST__ = array_slice($sortlist,1,4,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="col-md-3">
												<a href="#" class="title-submenu"><?php echo ($vo["sortname"]); ?></a>
												<div class="row">
													<div class="col-md-12 hover-menu">
														<div class="menu">
															<ul>
																<?php if(is_array($vo["twosortdata"])): $i = 0; $__LIST__ = $vo["twosortdata"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li><a href="/Home/Goods/showcategory?twosortid=<?php echo ($v["id"]); ?>"  class="main-menu"><?php echo ($v["twosortname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
																
															</ul>
														</div>
													</div>
												</div>
											</div><?php endforeach; endif; else: echo "" ;endif; ?>
											
										</div>
									</div>
								</div>
							</li>
							
							<li class="with-sub-menu hover">
								<p class="close-menu"></p>
								<a href="#" class="clearfix">
									<strong>Accessories</strong>
									
									<b class="caret"></b>
								</a>
								<div class="sub-menu" style="width: 100%; display: none;">
									<div class="content" style="display: none;">
										<div class="row">
											<div class="col-md-8">
												<div class="row">
													<div class="col-md-6 static-menu">
														<div class="menu">
															<ul>
																<li>
																	<a href="#"  class="main-menu">Automotive</a>
																	<ul>
																		<li><a href="#">Car Alarms and Security</a></li>
																		<li><a href="#" >Car Audio &amp; Speakers</a></li>
																		<li><a href="#" >Gadgets &amp; Auto Parts</a></li>
																	</ul>
																</li>
																<li>
																	<a href="#"  class="main-menu">Smartphone &amp; Tablets</a>
																	<ul>
																		<li><a href="#" >Accessories for i Pad</a></li>
																		<li><a href="#" >Apparel</a></li>
																		<li><a href="#" >Accessories for iPhone</a></li>
																	</ul>
																</li>
															</ul>
														</div>
													</div>
													<div class="col-md-6 static-menu">
														<div class="menu">
															<ul>
																<li>
																	<a href="#" class="main-menu">Sports &amp; Outdoors</a>
																	<ul>
																		<li><a href="#" >Camping &amp; Hiking</a></li>
																		<li><a href="#" >Cameras &amp; Photo</a></li>
																		<li><a href="#" >Cables &amp; Connectors</a></li>
																	</ul>
																</li>
																<li>
																	<a href="#"  class="main-menu">Electronics</a>
																	<ul>
																		<li><a href="#" >Battereries &amp; Chargers</a></li>
																		<li><a href="#" >Bath &amp; Body</a></li>
																		<li><a href="#" >Outdoor &amp; Traveling</a></li>
																	</ul>
																</li>
															</ul>
														</div>
													</div>
												</div>
											</div>
											<div class="col-md-4">
												<span class="title-submenu">Bestseller</span>
												<div class="col-sm-12 list-product">
													<div class="product-thumb">
														<div class="image pull-left">
															<a href="#"><img src="/Public/mobilemall/image/demo/shop/product/35.jpg" width="80" alt="Filet Mign" title="Filet Mign" class="img-responsive"></a>
														</div>
														<div class="caption">
															<h4><a href="#">Filet Mign</a></h4>
															<div class="rating-box">
																<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															</div>
															<p class="price">$1,202.00</p>
														</div>
													</div>
												</div>
												<div class="col-sm-12 list-product">
													<div class="product-thumb">
														<div class="image pull-left">
															<a href="#"><img src="/Public/mobilemall/image/demo/shop/product/w1.jpg" width="80" alt="Dail Lulpa" title="Dail Lulpa" class="img-responsive"></a>
														</div>
														<div class="caption">
															<h4><a href="#">Dail Lulpa</a></h4>
															<div class="rating-box">
																<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
															   <span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
															</div>
															<p class="price">$78.00</p>
														</div>
													</div>
												</div>
												<div class="col-sm-12 list-product">
													<div class="product-thumb">
														<div class="image pull-left">
															<a href="#"><img src="/Public/mobilemall/image/demo/shop/product/141.jpg" width="80" alt="Canon EOS 5D" title="Canon EOS 5D" class="img-responsive"></a>
														</div>
														<div class="caption">
															<h4><a href="#">Canon EOS 5D</a></h4>
															
															<div class="rating-box">
																<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
																<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
																<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
																<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
																<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
															</div>
															<p class="price">
																<span class="price-new">$60.00</span>
																<span class="price-old">$145.00</span>
																
															</p>
														</div>
													</div>
												</div>
												
											</div>
										</div>
									</div>
								</div>
							</li>
							<li class="">
								<p class="close-menu"></p>
								<a href="#" class="clearfix">
									<strong>Blog</strong>
									<span class="label"></span>
								</a>
							</li>
							
							<li class="hidden-md">
								<p class="close-menu"></p>
								<a href="#" class="clearfix">
									<strong>Buy Theme!</strong>
									
								</a>
							</li>
						</ul>
						
					</div>
				</div>
			</div>
		</div>
	</nav>
</div>
									</div>
			<!-- //end Main menu -->
			
		</div>
	</div>

</div>

<!-- Navbar switcher -->
<!-- //end Navbar switcher -->
	</header>
	<!-- //Header Container  -->
	<!-- Block Spotlight1  -->
	<section class="so-spotlight1 ">
		<div class="container">
			<div class="row">
				<div id="yt_header_right" class="col-lg-offset-3 col-lg-9 col-md-12">
					<div class="slider-container "> 
							
						<div class="module first-block">
							<div class="modcontent clearfix">
								<div id="custom_popular_search" class="clearfix">
									<h5 class="so-searchbox-popular-title pull-left">Top Search:</h5>
									<div class="so-searchbox-keyword">
										<ul class="list-inline"><li>&nbsp;<a href="#">Acer,</a></li><li><a href="#">APPLE,</a></li><li><a href="#">Black,</a></li><li><a href="#">Canon,</a></li><li><a href="#">Cogs,</a></li><li><a href="#">Confi,</a></li><li><a href="#">Kate,</a></li><li><a href="#">Lor,</a></li><li><a href="#">Product,</a></li><li><a href="#">Zolof The Rock And Roll Destroyer</a></li></ul>
									</div>
								</div>
							</div>
						</div>
						<div id="so-slideshow" class="col-lg-8 col-md-8 col-sm-12 col-xs-12 two-block">
							<div class="module slideshow no-margin">
								<?php if(is_array($lunbolist)): $i = 0; $__LIST__ = $lunbolist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="item">
									<a href="/Home/Goods/showgoods?goodsid=<?php echo ($vo["id"]); ?>"><img src="<?php echo ($vo["goodsimg"]["0"]); ?>" alt="slider1" class="img-responsive" style="width: 600px;height: 422px"></a>
								</div><?php endforeach; endif; else: echo "" ;endif; ?>
								
								
							</div>
							<div class="loadeding"></div>
						</div>

						
						<div class="module col-md-4  hidden-sm hidden-xs three-block ">
							<div class="modcontent clearfix">
								<div class="htmlcontent-block">	
									<ul class="htmlcontent-home">		
										<li>
											<div class="banners">
												<div>
													<a href="#"><img src="/Public/mobilemall/image/demo/cms/banner1.jpg" alt="banner1"></a>
												</div>
											</div>
										</li>		
										<li>
											<div class="banners">
												<div>
													<a href="#"><img src="/Public/mobilemall/image/demo/cms/banner2.jpg" alt="banner1"></a>
												</div>
											</div>
										</li>		
										<li>
											<div class="banners">
												<div>
													<a href="#"><img src="/Public/mobilemall/image/demo/cms/banner3.jpg" alt="banner1"></a>
												</div>
											</div>
										</li>	
									</ul>
								</div>
							</div>
						</div>

						<div class="module hidden-xs col-sm-12 four-block">
							<div class="modcontent clearfix">
								<div class="policy-detail">
									<div class="banner-policy">
										<div class="policy policy1"><a href="#"> <span class="ico-policy">&nbsp;</span> 90 day <br> money back </a></div>
										<div class="policy policy2"><a href="#"> <span class="ico-policy">&nbsp;</span> In-store exchange </a></div>
										<div class="policy policy3"><a href="#"> <span class="ico-policy">&nbsp;</span> lowest price guarantee </a></div>
										<div class="policy policy4"><a href="#"> <span class="ico-policy">&nbsp;</span> shopping guarantee </a></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>  
	</section>
	<!-- //Block Spotlight1  -->
	<!-- Main Container  -->
	<div class="main-container container">
		
		<div class="row">
			<div id="content" class="col-sm-12">
<div class="module tab-slider titleLine">
	<h3 class="modtitle">推荐产品</h3>
	<div id="so_listing_tabs_1" class="so-listing-tabs first-load module">
		<div class="loadeding"></div>
		<div class="ltabs-wrap">
			<div class="ltabs-tabs-container" data-delay="300" data-duration="600" data-effect="starwars" data-ajaxurl="#" data-type_source="0">
				<!--Begin Tabs-->
				<div class="ltabs-tabs-wrap"> 
				<span class="ltabs-tab-selected"><?php echo ($featuredgoods["1"]["sortname"]); ?></span> <span class="ltabs-tab-arrow">▼</span>
					<div class="item-sub-cat">
						<ul class="ltabs-tabs cf">
							<?php if(is_array($featuredgoods)): $i = 0; $__LIST__ = $featuredgoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i; if(($i) == "1"): ?><li class="ltabs-tab tab-sel" data-category-id="<?php echo ($v["data-category-id"]); ?>" data-active-content=".items-category-<?php echo ($v["data-category-id"]); ?>"> <span class="ltabs-tab-label"><?php echo ($v["sortname"]); ?></span> </li>
								<?php else: ?>
								<li class="ltabs-tab " data-category-id="<?php echo ($v["data-category-id"]); ?>" data-active-content=".items-category-<?php echo ($v["data-category-id"]); ?>"> <span class="ltabs-tab-label"><?php echo ($v["sortname"]); ?></span> </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
							
							
						</ul>
					</div>
				</div>
				<!-- End Tabs-->
			</div>
			<div class="ltabs-items-container">
				<!--Begin Items-->
				<?php if(is_array($featuredgoods)): $i = 0; $__LIST__ = $featuredgoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i; if(($i) == "1"): ?><div class="ltabs-items ltabs-items-selected items-category-<?php echo ($v["data-category-id"]); ?> grid" data-total="10">
					<div class="ltabs-items-inner ltabs-slider ">
						<?php if(is_array($v["goodslit"])): $i = 0; $__LIST__ = $v["goodslit"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="ltabs-item product-layout">
							<div class="product-item-container">
								<div class="left-block">
									<div class="product-image-container second_img ">
										<img src="<?php echo ($vo["goodsimg"]["0"]); ?>"  alt="Apple Cinema 30&quot;" class="img-responsive" />
										<img src="<?php echo ($vo["goodsimg"]["1"]); ?>"  alt="Apple Cinema 30&quot;" class="img_0 img-responsive" />
									</div>
									<!--Sale Label-->
									<span class="label label-sale">销售</span>
									<!--full quick view block-->
									<a class="quickview iframe-link visible-lg" data-fancybox-type="iframe"  href="/Home/Goods/showgoods?goodsid=<?php echo ($vo["id"]); ?>"> 快速浏览</a>
									<!--end full quick view block-->
								</div>
								<div class="right-block">
									<div class="caption">
										<h4><a href="product.html"><?php echo ($vo["goodsname"]); ?></a></h4>		
										<div class="ratings">
											<div class="rating-box">
												<?php switch($vo["ratingaverage"]): case "0": ?><span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "1": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "2": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "3": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "4": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "5": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span><?php break; endswitch;?>
											</div>
										</div>
															
										<div class="price">
											<span class="price-new">￥<?php echo ($vo["goodsnow"]); ?></span> 
											<span class="price-old">￥<?php echo ($vo["goodsorig"]); ?></span>		 
										</div>
									</div>
									
									  <div class="button-group">
										<button class="addToCart" type="button" data-toggle="tooltip" title="加入到购物车" onclick="cart.add('<?php echo ($vo["id"]); ?>' ,'<?php echo ($vo["goodsname"]); ?>','1' ,'<?php echo ($vo["goodsimg"]["0"]); ?>','<?php echo ($vo["goodsnow"]); ?>');"><i class="fa fa-shopping-cart"></i> <span class="">加入到购物车</span></button>
										<button class="wishlist" type="button" data-toggle="tooltip" title="收藏" onclick="wishlist.add('<?php echo ($vo["id"]); ?>' ,'<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-heart"></i></button>
										<button class="compare" type="button" data-toggle="tooltip" title="比较此商品" onclick="compare.add('<?php echo ($vo["id"]); ?>' ,'<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-exchange"></i></button>
									  </div>
								</div><!-- right block -->
							</div>
						</div><?php endforeach; endif; else: echo "" ;endif; ?>
						
					</div>
					
				</div>
				<?php else: ?>
				<div class="ltabs-items items-category-<?php echo ($v["data-category-id"]); ?> grid" data-total="11">
					<div class="ltabs-items-inner ltabs-slider ">
						<?php if(is_array($v["goodslit"])): $i = 0; $__LIST__ = $v["goodslit"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="ltabs-item product-layout">
							<div class="product-item-container">
								<div class="left-block">
									<div class="product-image-container second_img ">
										<img src="<?php echo ($vo["goodsimg"]["0"]); ?>"  alt="Apple Cinema 30&quot;" class="img-responsive" />
										<img src="<?php echo ($vo["goodsimg"]["1"]); ?>"  alt="Apple Cinema 30&quot;" class="img_0 img-responsive" />
									</div>
									<!--Sale Label-->
									<span class="label label-sale">销售</span>
									<!--full quick view block-->
									<a class="quickview iframe-link visible-lg" data-fancybox-type="iframe"  href="/Home/Goods/showgoods?goodsid=<?php echo ($vo["id"]); ?>">  快速浏览</a>
									<!--end full quick view block-->
								</div>
								<div class="right-block">
									<div class="caption">
										<h4><a href="product.html"><?php echo ($vo["goodsname"]); ?></a></h4>		
										<div class="ratings">
											<div class="rating-box">
												<?php switch($vo["ratingaverage"]): case "0": ?><span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "1": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "2": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "3": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "4": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "5": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span><?php break; endswitch;?>
											</div>
										</div>
															
										<div class="price">
											<span class="price-new">￥<?php echo ($vo["goodsnow"]); ?></span> 
											<span class="price-old">￥<?php echo ($vo["goodsorig"]); ?></span>		 
										</div>
									</div>
									
									  <div class="button-group">
										<button class="addToCart" type="button" data-toggle="tooltip" title="加入到购物车" onclick="cart.add('<?php echo ($vo["id"]); ?>','<?php echo ($vo["goodsname"]); ?>','1' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-shopping-cart"></i> <span class="">加入到购物车</span></button>
										<button class="wishlist" type="button" data-toggle="tooltip" title="收藏" onclick="wishlist.add('<?php echo ($vo["id"]); ?>','<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-heart"></i></button>
										<button class="compare" type="button" data-toggle="tooltip" title="比较此商品" onclick="compare.add('<?php echo ($vo["id"]); ?>','<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-exchange"></i></button>
									  </div>
								</div><!-- right block -->
							</div>
						</div><?php endforeach; endif; else: echo "" ;endif; ?>
					</div>
					
				</div><?php endif; endforeach; endif; else: echo "" ;endif; ?>
			</div>
			<!--End Items-->
			
			
		</div>
		
	</div>
</div>			

				<div class="module ">
					<div class="modcontent clearfix">
						<div class="banner-wraps ">
							<div class="m-banner row">
								<div class="banner htmlconten1 col-lg-4 col-md-4 col-sm-6 col-xs-12">
									<div class="banners">
										<div>
											<a href="#"><img src="/Public/mobilemall/image/demo/cms/banner2-1.png" alt="banner1"></a>
										</div>
									</div>
								</div>
								<div class="htmlconten2 col-lg-4 col-md-4 col-sm-6 col-xs-12">
									<div class="module banners">
											<div>
												<a href="#"><img src="/Public/mobilemall/image/demo/cms/banner2-2.png" alt="banner1"></a>
											</div>
									</div>
										
									<div class="banners">
										<div>
											<a href="#"><img src="/Public/mobilemall/image/demo/cms/banner2-3.png" alt="banner1"></a>
										</div>
									</div>
									
								</div>
								<div class="banner htmlconten3 hidden-sm col-lg-4 col-md-4 col-sm-6 col-xs-12">
									<div class="banners">
										<div>
											<a href="#"><img src="/Public/mobilemall/image/demo/cms/banner2-4.png" alt="banner1"></a>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="module tab-slider titleLine">
	<h3 class="modtitle">新上架商品</h3>
	<div id="so_listing_tabs_2" class="so-listing-tabs first-load module">
		<div class="loadeding"></div>
		<div class="ltabs-wrap ">
			<div class="ltabs-tabs-container" data-delay="300" data-duration="600" data-effect="starwars" data-ajaxurl="#" data-type_source="0">
				<!--Begin Tabs-->
				<div class="ltabs-tabs-wrap"> 
				<span class="ltabs-tab-selected"><?php echo ($newgoods["1"]["sortname"]); ?>	</span> <span class="ltabs-tab-arrow">▼</span>
					<div class="item-sub-cat">
						<ul class="ltabs-tabs cf">
						<?php if(is_array($newgoods)): $i = 0; $__LIST__ = $newgoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i; if(($i) == "1"): ?><li class="ltabs-tab tab-sel" data-category-id="<?php echo ($v["data-category-id"]); ?>" data-active-content=".items-category-<?php echo ($v["data-category-id"]); ?>"> <span class="ltabs-tab-label"><?php echo ($v["sortname"]); ?></span> </li>
								<?php else: ?>
								<li class="ltabs-tab " data-category-id="<?php echo ($v["data-category-id"]); ?>" data-active-content=".items-category-<?php echo ($v["data-category-id"]); ?>"> <span class="ltabs-tab-label"><?php echo ($v["sortname"]); ?></span> </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
						</ul>
							
					</div>
				</div>
				<!-- End Tabs-->
			</div>
			<div class="ltabs-items-container">
				<!--Begin Items-->
				<?php if(is_array($newgoods)): $i = 0; $__LIST__ = $newgoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i; if(($i) == "1"): ?><div class="ltabs-items ltabs-items-selected items-category-<?php echo ($v["data-category-id"]); ?> grid" data-total="10">
					<div class="ltabs-items-inner ltabs-slider ">
						<?php if(is_array($v["goodslit"])): $i = 0; $__LIST__ = $v["goodslit"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="ltabs-item product-layout">
							<div class="product-item-container">
								<div class="left-block">
									<div class="product-image-container second_img ">
										<img src="<?php echo ($vo["goodsimg"]["0"]); ?>"  alt="Apple Cinema 30&quot;" class="img-responsive" />
										<img src="<?php echo ($vo["goodsimg"]["1"]); ?>"  alt="Apple Cinema 30&quot;" class="img_0 img-responsive" />
									</div>
									<!--Sale Label-->
									<span class="label label-sale">销售</span>
									<!--full quick view block-->
									<a class="quickview iframe-link visible-lg" data-fancybox-type="iframe"  href="/Home/Goods/showgoods?goodsid=<?php echo ($vo["id"]); ?>">  快速浏览</a>
									<!--end full quick view block-->
								</div>
								<div class="right-block">
									<div class="caption">
										<h4><a href="product.html"><?php echo ($vo["goodsname"]); ?></a></h4>		
										<div class="ratings">
											<div class="rating-box">
												<?php switch($vo["ratingaverage"]): case "0": ?><span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "1": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "2": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "3": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "4": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "5": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span><?php break; endswitch;?>
											</div>
										</div>
															
										<div class="price">
											<span class="price-new">￥<?php echo ($vo["goodsnow"]); ?></span> 
											<span class="price-old">￥<?php echo ($vo["goodsorig"]); ?></span>		 
										</div>
									</div>
									
									  <div class="button-group">
										<button class="addToCart" type="button" data-toggle="tooltip" title="加入到购物车" onclick="cart.add('<?php echo ($vo["id"]); ?>' ,'<?php echo ($vo["goodsname"]); ?>','1' ,'<?php echo ($vo["goodsimg"]["0"]); ?>','<?php echo ($vo["goodsnow"]); ?>');"><i class="fa fa-shopping-cart"></i> <span class="">加入到购物车</span></button>
										<button class="wishlist" type="button" data-toggle="tooltip" title="收藏" onclick="wishlist.add('<?php echo ($vo["id"]); ?>' ,'<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-heart"></i></button>
										<button class="compare" type="button" data-toggle="tooltip" title="比较此商品" onclick="compare.add('<?php echo ($vo["id"]); ?>' ,'<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-exchange"></i></button>
									  </div>
								</div><!-- right block -->
							</div>
						</div><?php endforeach; endif; else: echo "" ;endif; ?>
						
					</div>
					
				</div>
				<?php else: ?>
				<div class="ltabs-items items-category-<?php echo ($v["data-category-id"]); ?> grid" data-total="11">
					<div class="ltabs-items-inner ltabs-slider ">
						<?php if(is_array($v["goodslit"])): $i = 0; $__LIST__ = $v["goodslit"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="ltabs-item product-layout">
							<div class="product-item-container">
								<div class="left-block">
									<div class="product-image-container second_img ">
										<img src="<?php echo ($vo["goodsimg"]["0"]); ?>"  alt="Apple Cinema 30&quot;" class="img-responsive" />
										<img src="<?php echo ($vo["goodsimg"]["1"]); ?>"  alt="Apple Cinema 30&quot;" class="img_0 img-responsive" />
									</div>
									<!--Sale Label-->
									<span class="label label-sale">销售</span>
									<!--full quick view block-->
									<a class="quickview iframe-link visible-lg" data-fancybox-type="iframe"  href="/Home/Goods/showgoods?goodsid=<?php echo ($vo["id"]); ?>">  快速浏览</a>
									<!--end full quick view block-->
								</div>
								<div class="right-block">
									<div class="caption">
										<h4><a href="product.html"><?php echo ($vo["goodsname"]); ?></a></h4>		
										<div class="ratings">
											<div class="rating-box">
												<?php switch($vo["ratingaverage"]): case "0": ?><span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "1": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "2": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "3": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "4": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span><?php break;?>
								<?php case "5": ?><span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>
								<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span><?php break; endswitch;?>
											</div>
										</div>
															
										<div class="price">
											<span class="price-new">￥<?php echo ($vo["goodsnow"]); ?></span> 
											<span class="price-old">￥<?php echo ($vo["goodsorig"]); ?></span>		 
										</div>
									</div>
									
									  <div class="button-group">
										<button class="addToCart" type="button" data-toggle="tooltip" title="加入到购物车" onclick="cart.add('<?php echo ($vo["id"]); ?>','<?php echo ($vo["goodsname"]); ?>','1' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-shopping-cart"></i> <span class="">加入到购物车</span></button>
										<button class="wishlist" type="button" data-toggle="tooltip" title="收藏" onclick="wishlist.add('<?php echo ($vo["id"]); ?>','<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-heart"></i></button>
										<button class="compare" type="button" data-toggle="tooltip" title="比较此商品" onclick="compare.add('<?php echo ($vo["id"]); ?>','<?php echo ($vo["goodsname"]); ?>' ,'<?php echo ($vo["goodsimg"]["0"]); ?>');"><i class="fa fa-exchange"></i></button>
									  </div>
								</div><!-- right block -->
							</div>
						</div><?php endforeach; endif; else: echo "" ;endif; ?>
					</div>
					
				</div><?php endif; endforeach; endif; else: echo "" ;endif; ?>
				
				
			</div>
			<!--End Items-->
			
			
		</div>
		
	</div>
</div>
	
				<div class="module no-margin titleLine ">
					<h3 class="modtitle"></h3>
					<div class="modcontent clearfix">
						<div id="collections_block" class="clearfix  block">
							<ul class="width6">
								<li class="collect collection_0">
									<div class="color_co"><a href="#">Furniture</a> </div>
								</li>
								<li class="collect collection_1">
									<div class="color_co"><a href="#">Gift idea</a> </div>
								</li>
								<li class="collect collection_2">
									<div class="color_co"><a href="#">Cool gadgets</a> </div>
								</li>
								<li class="collect collection_3">
									<div class="color_co"><a href="#">Outdoor activities</a> </div>
								</li>
								<li class="collect collection_4">
									<div class="color_co"><a href="#">Accessories for</a> </div>
								</li>
								<li class="collect collection_5">
									<div class="color_co"><a href="#">Women world</a> </div>
								</li>
							</ul>
						</div>
					</div>
				</div>
				
			</div>
		</div>
	</div>
	<!-- //Main Container -->
	<!-- Block Spotlight3  -->
	<section class="so-spotlight3">
		<div class="container">
			<div class="row">
				
				<div id="so_categories_173761471880018" class="so-categories module titleLine preset01-4 preset02-3 preset03-3 preset04-1 preset05-1">
					<h3 class="modtitle">Hot Categories</h3>
					
					<div class="wrap-categories">
						<div class="cat-wrap theme3">
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/automotive-motocrycle.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 								
								</div>
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Automotive " target="_blank">Automotive</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">More Car Accessories		</a> </div>
										<div class="child-cat-title"> <a title="Car Alarms and Security" href="#" target="_blank">Car Alarms and Security		</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">Car Audio &amp; Speakers		</a> </div>
										<div class="child-cat-title"> <a title="Gadgets &amp; Auto Parts" href="#" target="_blank">Gadgets &amp; Auto Parts	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1"></div>
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/health-beauty.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 		
								</div>	
									
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Health & Beauty" target="_blank">Health & Beauty</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">Salon & Spa Equipment		</a> </div>
										<div class="child-cat-title"> <a title="Car Alarms and Security" href="#" target="_blank">Fragrances		</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">Shaving & Hair Removal..	</a> </div>
										<div class="child-cat-title"> <a title="Gadgets &amp; Auto Parts" href="#" target="_blank">Bath & Body	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1 clr2"></div>
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/bags-holiday-supplies-gifts.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 		
								</div>	
									
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Health & Beauty" target="_blank">Bags, Holiday Supplies</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">Gift & Lifestyle Gadgets..		</a> </div>
										<div class="child-cat-title"> <a title="Car Alarms and Security" href="#" target="_blank">Lighter & Cigar Supplies..		</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">Gift for Woman	</a> </div>
										<div class="child-cat-title"> <a title="Gadgets &amp; Auto Parts" href="#" target="_blank">Gift for Man	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1 clr3"></div>
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/toys-hobbies.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 		
								</div>	
									
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Health & Beauty" target="_blank">Toys & Hobbies</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">Helicopters & Parts		</a> </div>
										<div class="child-cat-title"> <a title="Car Alarms and Security" href="#" target="_blank">RC Cars & Parts	</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">FPV System & Parts	</a> </div>
										<div class="child-cat-title"> <a title="Gadgets &amp; Auto Parts" href="#" target="_blank">Walkera	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1 clr2 clr4"></div>
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/electronics.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 		
								</div>	
									
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Health & Beauty" target="_blank">Electronics</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">Home Audio</a> </div>
										<div class="child-cat-title"> <a title="Car Alarms and Security" href="#" target="_blank">Mp3 Players & Accessories..	</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">Headphones, Headsets</a> </div>
										<div class="child-cat-title"> <a title="Gadgets &amp; Auto Parts" href="#" target="_blank">Battereries & Chargers..	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1 clr5"></div>
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/jewelry-watches.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 		
								</div>	
									
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Health & Beauty" target="_blank">Jewelry & Watches</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">Men Watches	</a> </div>
										<div class="child-cat-title"> <a title="Car Alarms and Security" href="#" target="_blank">Wedding Rings		</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">Earings	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1 clr2 clr3 clr6"></div>
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/sports-outdoors.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 		
								</div>	
									
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Health & Beauty" target="_blank">Sports & Outdoors</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">Outdoor & Traveling	</a> </div>
										<div class="child-cat-title"> <a title="Car Alarms and Security" href="#" target="_blank">Camping & Hiking		</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">Golf Supplies	</a> </div>
										<div class="child-cat-title"> <a title="Gadgets &amp; Auto Parts" href="#" target="_blank">Fishing	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1"></div>
							<div class="content-box">
								<div class="image-cat">
									<a href="#" title="Automotive" target="_blank">
										<img  src="/Public/mobilemall/image/demo/shop/category/smartphone-tablets.jpg" title="Automotive" alt="Automotive"> 
									</a> 
									<a class="btn-viewmore hidden-xs" href="#" title="View more">View more</a> 		
								</div>	
									
								<div class="inner">
									<div class="title-cat"> <a href="#" title="Health & Beauty" target="_blank">Smartphone & Tablets</a> </div>
									<div class="child-cat">
										<div class="child-cat-title"> <a title="More Car Accessories" href="#" target="_blank">Accessories for iPhone		</a> </div>
										<div class="child-cat-title"> <a title="Car Audio &amp; Speakers" href="#" target="_blank">Accessories for i Pad	</a> </div>
										<div class="child-cat-title"> <a title="Gadgets &amp; Auto Parts" href="#" target="_blank">Accessories for Tablet PC	</a> </div>
									</div>
								</div>
							</div>
							<div class="clr1 clr2 clr4"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<!-- //Block Spotlight3  -->
<script type="text/javascript"><!--
	var $typeheader = 'header-home1';
	//-->
</script>

	<!-- Footer Container -->
	<footer class="footer-container">
		<!-- Footer Top Container -->
		<section class="footer-top">
			<div class="container content">
				<div class="row">
					<div class="col-sm-6 col-md-3 box-information">
						<div class="module clearfix">
							<h3 class="modtitle">信息</h3>
							<div class="modcontent">
								<ul class="menu">
									<li><a href="#">关于我们</a></li>
									<li><a href="#">FAQ</a></li>
									<li><a href="#">订单历史</a></li>
									<li><a href="#">订单信息</a></li>
								</ul>
							</div>
						</div>
					</div>

					<div class="col-sm-6 col-md-3 box-service">
						<div class="module clearfix">
							<h3 class="modtitle">顾客服务</h3>
							<div class="modcontent">
								<ul class="menu">
									<li><a href="#">联系我们</a></li>
									<li><a href="#">回复</a></li>
									<li><a href="#">网页地图</a></li>
									<li><a href="#">我的账号</a></li>
								</ul>
							</div>
						</div>
					</div>

					<div class="col-sm-6 col-md-3 box-account">
						<div class="module clearfix">
							<h3 class="modtitle">我的账号</h3>
							<div class="modcontent">
								<ul class="menu">
									<li><a href="#">品牌</a></li>
									<li><a href="#">信用卡</a></li>
									<li><a href="#">所属企业</a></li>
									<li><a href="#">特价</a></li>
									<li><a href="#" target="_blank">Our Blog</a></li>
								</ul>
							</div>
						</div>
					</div>

					<div class="col-sm-6 col-md-3 collapsed-block ">
						<div class="module clearfix">
							<h3 class="modtitle">联系我们	</h3>
							<div class="modcontent">
								<ul class="contact-address">
									<li><span class="fa fa-map-marker"></span> My Company, 42 avenue des Champs Elysées 75000 Paris France</li>
									<li><span class="fa fa-envelope-o"></span> Email: <a href="#"> sales@yourcompany.com</a></li>
									<li><span class="fa fa-phone">&nbsp;</span> Phone 1: 0123456789 <br>Phone 2: (123) 4567890</li>
								</ul>
							</div>
						</div>
					</div>

					
				</div>
			</div>
		</section>
		<!-- /Footer Top Container -->
		
		<!-- Footer Bottom Container -->
		<div class="footer-bottom-block ">
			<div class=" container">
				<div class="row">
					<div class="col-sm-5 copyright-text">Copyright &copy; 2017.Ayfkm All rights reserved.</div>
					<div class="col-sm-7">
						
					</div>
					<!--Back To Top-->
					<div class="back-to-top"><i class="fa fa-angle-up"></i><span> Top </span></div>

				</div>
			</div>
		</div>
		<!-- /Footer Bottom Container -->
		
		
	</footer>
	<!-- //end Footer Container -->

    </div>
	<!-- Social widgets -->
	<section class="social-widgets visible-lg">
	<ul class="items">
		<li class="item item-01 facebook"> <a href="/Home/Shopcart/index" class="tab-icon"><span class="fa fa-facebook"></span></a>
			<div class="tab-content">
				<div class="title">
					<h5>购物车</h5>
				</div>
				<div class="loading">
					<img src="/Public/mobilemall/image/theme/lazy-loader.gif" class="ajaxloader" alt="loader">
				</div>
			</div>
		</li>
		<li class="item item-02 twitter"> <a href="/Home/Person/index" class="tab-icon"><span class="fa fa-twitter"></span></a>
			<div class="tab-content">
				<div class="title">
					<h5>个人中心</h5> 
				</div>
				<div class="loading">
					<img src="/Public/mobilemall/image/theme/lazy-loader.gif" class="ajaxloader" alt="loader">
				</div>
			</div>
		</li>
		<li class="item item-03 youtube"> <a href="#" class="tab-icon"><span class="fa fa-youtube"></span></a>
			<div class="tab-content">
				<div class="title">
					<h5>YouTube</h5>
				</div>
				<div class="loading"> <img src="/Public/mobilemall/image/theme/lazy-loader.gif" class="ajaxloader" alt="loader"></div>
			</div>
		</li>
	</ul>
</section>	<!-- End Social widgets -->

<link rel='stylesheet' property='stylesheet'  href='/Public/mobilemall/css/themecss/cpanel.css' type='text/css' media='all' />
	
<!-- Preloading Screen -->
<div id="loader-wrapper">
	<div id="loader"></div>
	<div class="loader-section section-left"></div>
	<div class="loader-section section-right"></div>
 </div>
<!-- End Preloading Screen -->
	
<!-- Include Libs & Plugins
============================================ -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="/Public/mobilemall/js/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/owl-carousel/owl.carousel.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/themejs/libs.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/unveil/jquery.unveil.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/countdown/jquery.countdown.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/dcjqaccordion/jquery.dcjqaccordion.2.8.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/datetimepicker/moment.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/jquery-ui/jquery-ui.min.js"></script>


<!-- Theme files
============================================ -->
<script type="text/javascript" src="/Public/mobilemall/js/themejs/application.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/themejs/toppanel.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/themejs/so_megamenu.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/themejs/addtocart.js"></script>	
<script type="text/javascript" src="/Public/mobilemall/js/themejs/cpanel.js"></script>

<!-- 功能模块 -->
<!-- 搜索框的商品分类 -->
<script type="text/html" id="sort-list-sel-tpl">
	<%for(var i = 0 ; i< data.length ; i++) {%>
		<option value="<%=data[i].id%>"><%=data[i].sortname%></option>
	<%}%>
</script>
<!-- 展示所有商品分类可点击收放ul -->
<script type="text/html" id="goods-list-ul-tpl">
	<%for(var i = 0 ; i< data.length ; i++ ) {%>
	<li class="item-vertical style1 with-sub-menu hover">
		<p class="close-menu"></p>
		<a href="#" class="clearfix">
			<img src="<%=data[i].sortimgurl[0]%>" alt="icon">
			<span><%=data[i].sortname%> </span>
			<b class="caret"></b>
		</a>
		<div class="sub-menu" data-subwidth="100" >
			<div class="content" >
				<div class="row">
					<div class="col-sm-12">
						
						<div class="row">
							<% var  twosortdata = data[i].twosortdata %>
							<%for(var j = 0 ; j < twosortdata.length ; j++) {%>
							<div class="col-md-4 static-menu">
								<div class="menu" >
									<ul>
										<li>
											<img src="<%=twosortdata[j].twosortimgurl[0]%>" alt="icon">
											<a href="/Home/Goods/showcategory"  class="main-menu"><%=twosortdata[j].twosortname%></a>
											<ul>
												<% var goodsdata = twosortdata[j].goodsdata %>
												<% for( var k =0 ; k< goodsdata.length ; k++ ){%>
												<li><a href="#" ><%= goodsdata[k].goodsname %></a></li>
												<%}%>
											</ul>
										</li>	
									</ul>
								</div>
							</div>
							<%}%>
						</div>
						
					</div>
				</div>
			</div>
		</div>
	</li>
	<%}%>
</script>
<!-- 添加商品到购物车 -->
<script type="text/html" id="addgoods-tpl">
	<tr cid="<%=data.goodsid%>">
		<td class="text-center" style="width:70px">
			<a href="product.html"> <img src="<%=data.goodsimg%>" style="width:70px" alt="Filet Mign" title="Filet Mign" class="preview"> </a>
		</td>
		<td class="text-left"> <a class="cart_product_name" href="product.html"><%=data.goodsname%></a> </td>
		<td class="text-center">x<%=data.goodsnumber%> </td>
		<td class="text-center">￥<%=data.goodsnow%></td>
		<td class="text-right">
			<a href="product.html" class="fa fa-edit"></a>
		</td>
		<td class="text-right">
			<a onclick="removegoods('<%=data.goodsid%>',this);" class="fa fa-times fa-delete" ></a>
		</td>
	</tr>
</script>
<script src="/Public/js/Share/template.js"></script>
<script src="/Public/js/Home/index.js"></script>
<script >
	INDEX.run();
	//将商品从购车中删除
	function removegoods(goods_id,obj){

		if(confirm("确定要从购物车中删除此商品吗？")){
			$.post("/API/Shopcart/removegoodsfromcart",{"goodsid":goods_id},function(res){
				alert(res.data);
				//如果数据删除成功
				if(res.status==true){
					//重新计算总价和
					//获取被删除商品数量
					var number=$.trim($(obj).parents("tr").find("td").eq(2).text());
					number=number.substring(1);
					//获取删除商品的单价
					var prices =$.trim($(obj).parents("tr").find("td").eq(3).text());
					prices = prices.substring(1);
					//获取原有商品的总数量
					var totalnum = $("#goodstotalnumber").text();
					totalnum = totalnum - number;
					//获取原有商品的总价
					var totalprices =  $("#goodstotalprices").text();
					totalprices = totalprices-number*prices;
					//改变删除后的商品价格与数量
					$("#goodstotalnumber").text(totalnum);
					$("#goodstotalprices").text(totalprices);
					$("#goodstotalprices1").text(totalprices);
					$(obj).parents("tr").remove();
				}
			});	
		}
		
	}
	
</script>
</body>
</html>